
import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
import java.io.IOException;

public class GameImage{
    public static BufferedImage get(String path)  {

        try {
            BufferedImage image = ImageIO.read(GameImage.class.getResource(path));
            return image;
        } catch (IOException e) {
            e.printStackTrace();
            return null;
        }


    }
}
